package com.EpidemicPrevention.mapper;

import com.EpidemicPrevention.pojo.Enrolled;
import com.EpidemicPrevention.pojo.Item_info;
import com.EpidemicPrevention.pojo.Volunteerinfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface Item_infoMapper {


    int addItem_info(Item_info item_info);

    //删除用户
    int deleteItem_info(@Param("id") int id);

    //修改用户信息
    int updateItem_info(Item_info item_info);

    List<Item_info> queryItem_info(@Param("page") int page, @Param("limit") int limit,@Param("Keyword")String Keyword);

    List<Item_info> selectWhereItem_info();

}
